package com.travel.service;

import com.qianfeng.util.ResultMsg;
import com.travel.entity.TbGateOrder;
import com.travel.entity.TbUser;
import com.travel.entity.TbView;

import javax.servlet.http.HttpServletRequest;

public interface GateOrderService {
    ResultMsg addOrderClass(TbUser user, TbView tbView);

    ResultMsg addOrderId(Integer userId, Integer viewId);

    ResultMsg seleteAll();

    ResultMsg seleteAllByPage(Integer current, Integer size);

    ResultMsg seleteOneById(Integer gateOrderId);

    ResultMsg addOrder(TbGateOrder tbGateOrder, HttpServletRequest req);

    int update(TbGateOrder order);

    ResultMsg success();
}
